package com.aijk.ehm.api;

import com.aijk.commons.exception.ErrorCodeException;

import com.aijk.ehm.model.EhmPeopleCrowdMutex;
import com.aijk.ehm.model.qo.EhmPeopleCrowdMutexQo;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface EhmPeopleCrowdMutexApi {
    Long save(EhmPeopleCrowdMutex bean) throws ErrorCodeException;

    void update(EhmPeopleCrowdMutex bean) throws ErrorCodeException;

    EhmPeopleCrowdMutex findOne(Long id) throws ErrorCodeException;

    List<EhmPeopleCrowdMutex> list(EhmPeopleCrowdMutexQo qo);

    void deleteById(Long id) throws ErrorCodeException;

    int count(EhmPeopleCrowdMutexQo qo);

    PageInfo<EhmPeopleCrowdMutex> page(EhmPeopleCrowdMutexQo qo);
}